//
// Created by Robert Sun on 2024/11/9.
//

#include "led.h"

void Led_on(uint16_t led){
    HAL_GPIO_WritePin(GPIOA,led,GPIO_PIN_RESET);
}
void Led_off(uint16_t led){
    HAL_GPIO_WritePin(GPIOA,led,GPIO_PIN_SET);
}

void Led_qufan(uint16_t led){
    HAL_GPIO_TogglePin(GPIOA,led);
}


